package com.yhl.admin.service.impl;

import com.yhl.admin.bean.Student;
import com.yhl.admin.mapper.StudentMapper;
import com.yhl.admin.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yhl
 * @create 2021-06-27 23:03
 */
@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;

    public Student getStudent(int id){
        Student student = studentMapper.getStudent(id);
        return student;
    }
}
